/****************************************************************************** * Copyright (C) Ultraleap, Inc. 2011-2021. * * * * Use subject to the terms of the Apache License 2.0 available at * * http://www.apache.org/licenses/LICENSE-2.0, or another agreement * * between Ultraleap and you, your company or other organization. * ******************************************************************************/ using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Leap.Unity.Interaction { /// /// An IGraspedMovementHandler takes in a target position and rotation (a "pose", /// usually provided by an IGraspedPoseHandler) and is responsible for attempting to /// move an interaction object to that target pose. /// public interface IGraspedMovementHandler { /// /// Called by an interaction object when its grasped pose handler has determined a /// target pose; this method should attempt to move the interaction object to match /// that pose. /// void MoveTo(Vector3 solvedPosition, Quaternion solvedRotation, InteractionBehaviour interactionObj, bool justGrasped); } }